import request from '@/utils/request';
import { AxiosPromise } from 'axios';


// 获取首页数据统计
export function stats() {
  return request({
    url: '/cemetery/homePageStats/stats',
    method: 'get',
  });
}

// 获取代客祭扫订单量年环比统计
export function orderStats() {
  return request({
    url: '/cemetery/homePageStats/orderStats',
    method: 'get',
  });
}

// 获取墓穴使用情况统计
export function graveUsageStats() {
  return request({
    url: '/cemetery/homePageStats/graveUsageStats',
    method: 'get',
  });
}

// 获取今日待处理订单列表
export function todayPendingOrders() {
  return request({
    url: '/cemetery/homePageStats/todayPendingOrders',
    method: 'get',
  });
}
